<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Gremlins: MasterWorkerFramework::AbstractGridSlaveTask Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Gremlins
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.1.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><b>MasterWorkerFramework</b></li><li class="navelem"><a class="el" href="class_master_worker_framework_1_1_abstract_grid_slave_task.html">AbstractGridSlaveTask</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a>  </div>
  <div class="headertitle">
<div class="title">MasterWorkerFramework::AbstractGridSlaveTask Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Model for slave tasks implementation.  
 <a href="class_master_worker_framework_1_1_abstract_grid_slave_task.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_abstract_grid_slave_task_8h_source.html">AbstractGridSlaveTask.h</a>&gt;</code></p>

<p>Inherits <a class="el" href="class_master_worker_framework_1_1_abstract_task.html">MasterWorkerFramework::AbstractTask</a>.</p>

<p><a href="class_master_worker_framework_1_1_abstract_grid_slave_task-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:ace526cc4e2f183d53fb1500619c9cefc"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ace526cc4e2f183d53fb1500619c9cefc"></a>
typedef boost::function&lt; void(<a class="el" href="class_master_worker_framework_1_1_task_result.html">TaskResult</a> *)&gt;&#160;</td><td class="memItemRight" valign="bottom"><b>joinFunction</b></td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a9e8851d38d88190984c2718b2728dfd9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9e8851d38d88190984c2718b2728dfd9"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>AbstractGridSlaveTask</b> (char *n)</td></tr>
<tr class="memitem:afc3ff3c28120c9957853655bc9c2deee"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afc3ff3c28120c9957853655bc9c2deee"></a>
virtual std::string *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_master_worker_framework_1_1_abstract_grid_slave_task.html#afc3ff3c28120c9957853655bc9c2deee">GetSlaveTaskName</a> ()=0</td></tr>
<tr class="memdesc:afc3ff3c28120c9957853655bc9c2deee"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the name of the slave task. <br/></td></tr>
<tr class="memitem:a6ad48c3e76a4987bac969e1a313fa9f4"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6ad48c3e76a4987bac969e1a313fa9f4"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_master_worker_framework_1_1_abstract_grid_slave_task.html#a6ad48c3e76a4987bac969e1a313fa9f4">Execute</a> ()=0</td></tr>
<tr class="memdesc:a6ad48c3e76a4987bac969e1a313fa9f4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Execute the task. <br/></td></tr>
<tr class="memitem:a40ff9f38534bdc35d7fadb062693767b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a40ff9f38534bdc35d7fadb062693767b"></a>
virtual VALUE_TYPE&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_master_worker_framework_1_1_abstract_grid_slave_task.html#a40ff9f38534bdc35d7fadb062693767b">GetTaskType</a> ()=0</td></tr>
<tr class="memdesc:a40ff9f38534bdc35d7fadb062693767b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the result type. <br/></td></tr>
<tr class="memitem:a816cf6b13a545efa5a6e7c20e14b398d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a816cf6b13a545efa5a6e7c20e14b398d"></a>
std::string *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_master_worker_framework_1_1_abstract_grid_slave_task.html#a816cf6b13a545efa5a6e7c20e14b398d">GetName</a> ()</td></tr>
<tr class="memdesc:a816cf6b13a545efa5a6e7c20e14b398d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the task name. <br/></td></tr>
<tr class="memitem:ac8f87390df88f38eb81b9be4b9c3e640"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac8f87390df88f38eb81b9be4b9c3e640"></a>
std::string *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_master_worker_framework_1_1_abstract_grid_slave_task.html#ac8f87390df88f38eb81b9be4b9c3e640">GetHash</a> ()</td></tr>
<tr class="memdesc:ac8f87390df88f38eb81b9be4b9c3e640"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the task hash code. <br/></td></tr>
<tr class="memitem:a3ccc52958fceef15d365f80afc842a1a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3ccc52958fceef15d365f80afc842a1a"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>SetResult</b> (<a class="el" href="class_master_worker_framework_1_1_task_result.html">TaskResult</a> *r)</td></tr>
<tr class="memitem:a22c9a212b4de896d47dadcc14ca4124c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a22c9a212b4de896d47dadcc14ca4124c"></a>
TASK_STATUT&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_master_worker_framework_1_1_abstract_grid_slave_task.html#a22c9a212b4de896d47dadcc14ca4124c">GetStatut</a> ()</td></tr>
<tr class="memdesc:a22c9a212b4de896d47dadcc14ca4124c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the task statut. <br/></td></tr>
<tr class="memitem:a6dbd5c22a272cb759b53d3fd63757986"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6dbd5c22a272cb759b53d3fd63757986"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_master_worker_framework_1_1_abstract_grid_slave_task.html#a6dbd5c22a272cb759b53d3fd63757986">AppendResult</a> (<a class="el" href="class_master_worker_framework_1_1_task_result.html">TaskResult</a> *r)</td></tr>
<tr class="memdesc:a6dbd5c22a272cb759b53d3fd63757986"><td class="mdescLeft">&#160;</td><td class="mdescRight">Append a result to the binded result collection. <br/></td></tr>
<tr class="memitem:a34f404b2f1f877d849289ac4260d74e1"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a34f404b2f1f877d849289ac4260d74e1"></a>
<a class="el" href="class_master_worker_framework_1_1_task_result.html">TaskResult</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_master_worker_framework_1_1_abstract_grid_slave_task.html#a34f404b2f1f877d849289ac4260d74e1">GetResult</a> ()</td></tr>
<tr class="memdesc:a34f404b2f1f877d849289ac4260d74e1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the task result. <br/></td></tr>
<tr class="memitem:ae421fb4be45c689830ba40564d2d21fe"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae421fb4be45c689830ba40564d2d21fe"></a>
<a class="el" href="class_master_worker_framework_1_1_abstract_grid_slave_task.html">AbstractGridSlaveTask</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_master_worker_framework_1_1_abstract_grid_slave_task.html#ae421fb4be45c689830ba40564d2d21fe">GetParent</a> ()</td></tr>
<tr class="memdesc:ae421fb4be45c689830ba40564d2d21fe"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the task dependency. <br/></td></tr>
<tr class="memitem:addb215f6e5b2290797afc6ac68f1185a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="addb215f6e5b2290797afc6ac68f1185a"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>operator&lt;=</b> (unsigned iteration)</td></tr>
<tr class="memitem:aff48eeab40b0525ea60cb057bd47aa18"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aff48eeab40b0525ea60cb057bd47aa18"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>operator==</b> (<a class="el" href="class_master_worker_framework_1_1_abstract_grid_slave_task.html">AbstractGridSlaveTask</a> &amp;task)</td></tr>
<tr class="memitem:a0c44856e9ee9732d27b6d3c979968de0"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0c44856e9ee9732d27b6d3c979968de0"></a>
std::vector&lt; <a class="el" href="class_master_worker_framework_1_1_task_result.html">TaskResult</a> * &gt; *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_master_worker_framework_1_1_abstract_grid_slave_task.html#a0c44856e9ee9732d27b6d3c979968de0">GetBindedResult</a> ()</td></tr>
<tr class="memdesc:a0c44856e9ee9732d27b6d3c979968de0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the task binded results. <br/></td></tr>
<tr class="memitem:af53c674e60fefe08d7d71a785cdda0f0"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af53c674e60fefe08d7d71a785cdda0f0"></a>
<a class="el" href="class_master_worker_framework_1_1_abstract_grid_slave_task.html">AbstractGridSlaveTask</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_master_worker_framework_1_1_abstract_grid_slave_task.html#af53c674e60fefe08d7d71a785cdda0f0">BindTaskCompleted</a> (<a class="el" href="class_master_worker_framework_1_1_abstract_grid_slave_task.html">AbstractGridSlaveTask</a> *bindedTask)</td></tr>
<tr class="memdesc:af53c674e60fefe08d7d71a785cdda0f0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the binded completion function. <br/></td></tr>
<tr class="memitem:ac7c42f48e1362edbc8d5b487d05911d1"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac7c42f48e1362edbc8d5b487d05911d1"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_master_worker_framework_1_1_abstract_grid_slave_task.html#ac7c42f48e1362edbc8d5b487d05911d1">Join</a> ()</td></tr>
<tr class="memdesc:ac7c42f48e1362edbc8d5b487d05911d1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Routine for task completion handling. <br/></td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:ad6e1ca425097dfa92fdd68f03c2ccd05"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad6e1ca425097dfa92fdd68f03c2ccd05"></a>
unsigned&#160;</td><td class="memItemRight" valign="bottom"><b>iteration_</b></td></tr>
<tr class="memitem:a734620e3af4dd80ef4c3ccc67a3f9830"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a734620e3af4dd80ef4c3ccc67a3f9830"></a>
joinFunction&#160;</td><td class="memItemRight" valign="bottom"><b>slaveTaskCompletionFunction_</b></td></tr>
<tr class="memitem:a3076599bcdc3a217c196264a9c3d898a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3076599bcdc3a217c196264a9c3d898a"></a>
<a class="el" href="class_master_worker_framework_1_1_abstract_grid_slave_task.html">AbstractGridSlaveTask</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>parentTask_</b></td></tr>
<tr class="memitem:a0b837253b46290a8e20727ce128ec185"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0b837253b46290a8e20727ce128ec185"></a>
<a class="el" href="class_master_worker_framework_1_1_task_result.html">TaskResult</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>result_</b></td></tr>
<tr class="memitem:a54d0e0417b218fcb6e820f744a5a1d9e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a54d0e0417b218fcb6e820f744a5a1d9e"></a>
std::vector&lt; <a class="el" href="class_master_worker_framework_1_1_task_result.html">TaskResult</a> * &gt; *&#160;</td><td class="memItemRight" valign="bottom"><b>bindedResults_</b></td></tr>
<tr class="memitem:aef7a1345050440c4cd489d7bc9891510"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aef7a1345050440c4cd489d7bc9891510"></a>
std::string *&#160;</td><td class="memItemRight" valign="bottom"><b>name_</b></td></tr>
<tr class="memitem:aeb1b98e24559c2571a15c3e22ae30903"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aeb1b98e24559c2571a15c3e22ae30903"></a>
std::string *&#160;</td><td class="memItemRight" valign="bottom"><b>hash_</b></td></tr>
<tr class="memitem:acb168418c8dfa01b5ee7b87beb819e15"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acb168418c8dfa01b5ee7b87beb819e15"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>done_</b></td></tr>
<tr class="memitem:a10b95ee17a4a79a26ede61c1f48103a2"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a10b95ee17a4a79a26ede61c1f48103a2"></a>
TASK_STATUT&#160;</td><td class="memItemRight" valign="bottom"><b>statut_</b></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Model for slave tasks implementation. </p>
<p>Represent a Master task (container &amp; routines for handling collections of slave tasks) </p>
</div><hr/>The documentation for this class was generated from the following file:<ul>
<li>gremlins_static/<a class="el" href="_abstract_grid_slave_task_8h_source.html">AbstractGridSlaveTask.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Jul 4 2012 10:52:48 for Gremlins by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.1.1
</small></address>
</body>
</html>
